<template>
  <div class="bottom-menu">
    <router-link class="menu-item" to="/"><i class="iconfont icon-apps"></i><p class="nav-tit">我的项目</p></router-link>
    <router-link class="menu-item" to="/setting"><i class="iconfont icon-my"></i><p class="nav-tit">个人设置</p></router-link>
  </div>
</template>

<script>
  export default {
    name: 'BottomMenu'
  }
</script>

<style lang="scss" scoped>
  .bottom-menu{
    line-height: 1.2;
    position: fixed;
    display: flex;
    justify-content: space-around;
    align-items: center;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 50px;
    border-top: 1px solid #dedfe0;
    background-color: #fff;
    .menu-item{
      color:#888888;
      flex: 1;
      text-align: center;
      text-decoration: none;
     .nav-tit{
        font-size: 10px;
        padding: 0;
        margin: 0;
        color:inherit;
      }
      i{
        font-size: 20px;
        color:inherit;
      }
    }
    .router-link-exact-active{
      color:$mainColor;
    }
  }
</style>
